package com.alan.repository;

import com.alan.entity.teach;
import com.alan.entity.teacherstudent;

import java.util.List;

public interface TeacherRepository {
    public teach login(String username, String password);

    public String registerfind(String username);

    public List<teacherstudent> findall(String username, int index, int limit);

    public int counts(String stu_class);

    public void update(String stu_id, String Cname, String Ename, String Ntel, String Nclass, int semester);

    public void delete(String name);

    public void change(String name, String password);

    public void add(String name, String password, String t_class);

    public teach find(String name, String t_class);

    public void newpassword(String name, String t_class, String password);
}
